package com.ptu.spzx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ptu.spzx.domain.Class.Classes;
import com.ptu.spzx.domain.Course.Course;
import com.ptu.spzx.domain.Course.DTO.CourseDto;
import com.ptu.spzx.domain.Course.DTO.CourseSelectDto;
import com.ptu.spzx.domain.Course.Vo.CourseVo;
import com.ptu.spzx.domain.Delete.DeleteIds;

import java.util.List;

public interface ICourseService extends IService<Course> {
    void addCourse(CourseDto courseDto);

    void updateCourse(CourseDto courseDto);

    void deleteCourse( DeleteIds deleteIds);

    PageInfo<Course> getCourseList(Long teachId,Integer pageNum, Integer pageSize);

    PageInfo<Course> findByPage(Integer pageNum, Integer pageSize, CourseSelectDto courseSelectDto);

    Course getCourseById(Long courseId);
}
